package com.weixing.mall.core.support;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * @ClassName BaseEntity
 * @Description
 * @Author Small
 * @Date 2019/11/12 11:25
 * @Version 1.0
 **/
@Data
public class BaseEntity extends Model {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    protected Long id;
}
